<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>InsertJSONList</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">InsertJSONList()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#3A3966"><b>InsertJSONList</b></font>(JSONValue, List())</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Insert the specified List() into the given JSON value. The JSON value will be 
changed to <a href="jsontype.html">type</a> <font color="#924B72">#PB_JSON_Array</font>. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>JSONValue</i></td>
<td width="90%"> 
 
The JSON value. The previous content of the value will be changed to the 
contant of the List(). 

 

</td></tr>
<tr><td><i>List()</i></td>
<td> 
 
The list to insert into the JSON value. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">NewList</font></b> <font color="#3A3966">Names</font>.s()
<font color="#3A3966">  AddElement</font>(<font color="#3A3966">Names</font>()):<font color="#3A3966"> Names</font>() = "John"
<font color="#3A3966">  AddElement</font>(<font color="#3A3966">Names</font>()):<font color="#3A3966"> Names</font>() = "Jane"
<font color="#3A3966">  AddElement</font>(<font color="#3A3966">Names</font>()):<font color="#3A3966"> Names</font>() = "Jim"
  
  <b><font color="#3A3966">If</font></b> <font color="#3A3966">CreateJSON</font>(0)
<font color="#3A3966">    InsertJSONList</font>(<font color="#3A3966">JSONValue</font>(0),<font color="#3A3966"> Names</font>())
    <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">ComposeJSON</font>(0, <font color="#924B72">#PB_JSON_PrettyPrint</font>)
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="insertjsonarray.html">InsertJSONArray()</a>, <a href="insertjsonmap.html">InsertJSONMap()</a>, <a href="insertjsonstructure.html">InsertJSONStructure()</a>, 
<a href="extractjsonarray.html">ExtractJSONArray()</a>, <a href="extractjsonlist.html">ExtractJSONList()</a>, <a href="extractjsonmap.html">ExtractJSONMap()</a>, <a href="extractjsonstructure.html">ExtractJSONStructure()</a>, 

 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=insertjsonarray.html>InsertJSONArray()</a> - <a href="index.html">Json Index</a> - <a href="insertjsonmap.html">InsertJSONMap()</a> -&gt;<br><br>

</body></html>